﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace pryTransfinter.Alertas
{
    public partial class wfrmAlertas : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["idTab"]==null ||Session["idTab"]==string.Empty)
                {
                    ASPxPageControl1.ActiveTabIndex = 0;
                } else if ((int)Session["idTab"]==2)
                {
                    ASPxPageControl1.ActiveTabIndex = 1;
                }
                else if ((int)Session["idTab"]==1)
                {
                    ASPxPageControl1.ActiveTabIndex = 0;
                }
                
                //Session["idTab"]
            }
        }
    }
}